package com.hhkj.admin.invoice.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BizBaseEntity;
import lombok.Data;

/**
 * 记录发票title
 * @TableName s_invoice_title
 */
@TableName(value ="s_invoice_title")
@Data
public class InvoiceTitle extends BizBaseEntity{

    /**
     * 发票类型："person"-个人 "enterprise"-企业
     */
    @TableField(value = "type_code")
    private String typeCode;

    /**
     * 发票抬头
     */
    @TableField(value = "title")
    private String title;

    /**
     * 纳税识别号
     */
    @TableField(value = "tax_identification_number")
    private String taxIdentificationNumber;

    /**
     * 企业地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 企业电话
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 开户行
     */
    @TableField(value = "bank_name")
    private String bankName;

    /**
     * 银行账号
     */
    @TableField(value = "bank_account")
    private String bankAccount;

    /**
     * 设置默认企业发票：0-不是默认 1-默认
     */
    @TableField(value = "default_flag")
    private Integer defaultFlag;

    /** 商家id */
    private Long saleId;
}